/*
 * #%L
 * BroadleafCommerce Open Admin Platform
 * %%
 * Copyright (C) 2009 - 2016 Broadleaf Commerce
 * %%
 * Licensed under the Broadleaf Fair Use License Agreement, Version 1.0
 * (the "Fair Use License" located  at http://license.broadleafcommerce.org/fair_use_license-1.0.txt)
 * unless the restrictions on use therein are violated and require payment to Broadleaf in which case
 * the Broadleaf End User License Agreement (EULA), Version 1.1
 * (the "Commercial License" located at http://license.broadleafcommerce.org/commercial_license-1.1.txt)
 * shall apply.
 * 
 * Alternatively, the Commercial License may be replaced with a mutually agreed upon license (the "Custom License")
 * between you and Broadleaf Commerce. You may not use this file except in compliance with the applicable license.
 * #L%
 */

/****************************************
 ADMIN MODAL STYLES
****************************************/
.modal {
    z-index: 1052;
}
.modal {
    -webkit-transition: 0.1s; /* Safari */
    transition: 0.1s;
}
.modal.sm {
    width: 600px;
    margin-left: -300px;
}
.modal-backdrop {
    z-index: 1051;
}
.modal .entity-errors {
    margin-top: 0px;
}
.close {
    font-size: 30px;
    margin: 0;
    z-index: 999;
}
@media (min-width: 1100px) {
    .modal.xl {
        width: 1100px;
        margin-left: -550px;
    }
}
@media (min-width: 1000px) and (max-width: 1100px) {
    .modal.xl {
        width: 1000px;
        margin-left: -500px;
    }
}
@media (min-width: 1000px) {
    .modal.lg {
        width: 1000px;
        margin-left: -500px;
    }
}
/****************************************
 ADMIN MODAL BODY STYLES
****************************************/
.modal-body {
    padding: 1px;
    background-color: #F9F7F3;
    /*overflow: visible;*/
}
.modal-body legend {
    /*display: none;*/
}
.modal-body .content-yield {
    padding: 15px 30px;
    background-color: #F9F7F3;
}
.modal-body .row {
    margin-right: 0;
    margin-left: 0;
}
.modal-body .col12 {
    padding-right: 0;
    padding-left: 0;
}
.modal-body .actions {
    margin-top: 10px;
    text-align: right
}
.modal-body .empty-section-tabs {
    display: none;
}
.modal-body .empty-section-tabs ul {
    display: none;
}
.modal-body .field-group label span {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .05em;
    /*color: #B3B3B3;*/
}
.modal-body fieldset:first-child {
    margin: 0;
    padding: 10px;
}
.modal-body fieldset:not(:first-child) {
    padding: 10px;
}
.modal-body textarea {
    height: 90px;
}
.modal-body .adorned-select-wrapper .content-yield:last-of-type {
    padding-top: 0;
}
.modal-body .adorned-select-wrapper .fieldset-card .titlebar {
    display: none;
}
.modal-body .action-popup .fieldset-card.message {
    margin-top: 0 !important;
    margin-bottom: 0;
}
.modal-body .fieldset-card{background-color:white;border:1px solid #e0e0e0;-moz-box-shadow:rgba(0,0,0,0.1) 0px 2px 5px;-webkit-box-shadow:rgba(0,0,0,0.1) 0px 2px 5px;box-shadow:rgba(0,0,0,0.1) 0px 2px 5px;margin-bottom:15px}
.modal-body .fieldset-card .titlebar{background-color:#FCFBF9;border-bottom:1px solid #e0e0e0;padding: 0 20px;width:100%;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:0.15em;color:#2c2c2c}
.modal-body .fieldset-card .titlebar .fa{float:right;font-size:16px}
.modal-body .fieldset-card .fieldset-card-content{padding:20px}
.modal-body .fieldset-card .fieldset-card-content label{color:#2c2c2c;font-size:13px;font-weight:600;letter-spacing:normal;text-transform:none}
.modal-body .fieldset-card .fieldset-card-content .radio-label{margin-bottom:5px;font-size:12px;font-weight:400}
.modal-body .fieldset-card .fieldset-card-content .checkbox{padding:0}
.modal-body .fieldset-card .fieldset-card-content .checkbox .checkbox-label{font-size:12px;margin-right:10px}
/****************************************
 ADMIN MODAL HEADER STYLES
****************************************/
.modal-header {
    border-bottom: 0;
    width: 100%;
    height: 80px;
    line-height: 80px;
    background-color: white;
    border-bottom: 1px solid #E0E0E0;
    padding: 0px 40px;
}
.modal-header h3 {
    font-weight: 500;
    /*margin-bottom: -10px;*/
}
.modal-header h3 {
    font-size: 21px;
    font-weight: 300;
}
.modal-header h3 {
    margin: 0;
    padding: 0px;
    line-height: 80px;
    display: inline-block;
}
.modal-header h3 {
    max-width: 600px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: top;
}
/****************************************
 ADMIN MODAL FOOTER STYLES
****************************************/
.modal-footer {
    background-color: #fff;
    border-top: 0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    text-align: right;
    border-top: 1px solid #E0E0E0;
}
.modal-footer #headerFlashAlertBoxContainer {
    margin-top: 6px;
}
.modal .modal-footer .entity-form-actions {
    text-align: right;
}
.modal .modal-footer .entity-form-actions .ajax-loader {
    float: left;
    margin: 10px 10px;
}

/****************************************
 ADMIN CUSTOMIZED MODAL STYLES
****************************************/
.modal.primary-media-attrs-modal {
    top: 20%;
    width: 400px;
    margin-left: -200px;
}
.modal.primary-media-attrs-modal .modal-header h3 {
    font-weight: 400;
}
.modal.primary-media-attrs-modal .modal-body textarea {
    resize: vertical;
}
.modal.primary-media-attrs-modal .modal-body label {
    text-transform: uppercase;
    color: #2C2C2C;
}

.modal.primary-media-attrs-modal .modal-footer button:last-of-type {
    margin-right: 15px;
}
